import java.util.Arrays;
import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Administrator
 * Date: 2023-03-27
 * Time: 7:55
 */
public class Test {
    public static String toLowerCase(String s) {
        String arr = s.toLowerCase();
        return arr;
    }

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String str = scanner.nextLine();
        String ret = toLowerCase(str);
        System.out.println(ret);
    }
    public static int countSegments(String s) {
        int  count = 0;
        String[] split = s.split(" ");
        for (String str : split) {
            if (str.trim().length()!=0) {
                count++;
            }
        }
        return count;
    }
    public static void main6(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String str = scanner.nextLine();
        int ret = countSegments(str);
        System.out.println(ret);
    }
    public static void main5(String[] args) {
        int count = 0;
        Scanner scanner = new Scanner(System.in);
        String arr = scanner.nextLine();
        if(arr.equals("")){
        }
        String[] str = arr.split(" ");
        for(String s : str){
            count++;
        }
        System.out.println(count);
    }
    public static void main4(String[] args) {
        String s1="abc"+"def";//1
        String s2=new String(s1);//2
        if(s1.equals(s2))//3
            System.out.println(".equals succeeded");//4
        if(s1==s2)//5
            System.out.println("==succeeded");//6
    }
    public static boolean isAdmin(String userId){
        return userId.toLowerCase()=="admin";
    }
    public static void main2(String[] args) {
        System.out.println(isAdmin("Admin"));
    }
    String str = new String("good");
    char[ ] ch = { 'a' , 'b' , 'c' };
    public static void main1(String[] args) {
        Test ex = new Test();
        ex.change(ex.str,ex.ch);
        System.out.print(ex.str + " and ");
        System.out.print(ex.ch);    }
    public void change(String str,char ch[ ]){
        str = "test ok";
        ch[0] = 'g';
    }
}
